package com.example.excelimporter.listener;

import com.example.excelimporter.model.ImportResult;
import com.example.excelimporter.model.TemplateConfig;

public interface PostImportListener {
    /**
     * Called after successful import
     * @param templateConfig The template configuration used for import
     * @param result The import result
     */
    void onSuccess(TemplateConfig templateConfig, ImportResult result);

    /**
     * Called when import fails
     * @param templateConfig The template configuration used for import
     * @param error The error that occurred
     */
    void onError(TemplateConfig templateConfig, Exception error);
} 